import ReactDOM from "react-dom/client";
import { Routes, Route, HashRouter } from "react-router-dom";
import App from "./App.tsx";
import "./index.css";
import { Index } from "./views/Index/Index.tsx";
import { Dev } from "./views/Dev/Dev.tsx";

ReactDOM.createRoot(document.getElementById("root")!).render(
  <HashRouter>
    <Routes>
      <Route path="/" element={<App />}>
        <Route path="/" element={<Index />} />
        <Route path="/components" element={<Index />} />
        <Route path="/dev" element={<Dev />} />
      </Route>
    </Routes>
  </HashRouter>
);
